package com.weilai.domain;

import java.util.Date;
public class AuditLogs {
    private int id;
    private int adminId;
    private String action;
    private String targetType;
    private int targetId;
    private Date createdAt;

    // 无参构造函数
    public AuditLogs() {
    }

    // 有参构造函数
    public AuditLogs(int id, int adminId, String action, String targetType, int targetId, Date createdAt) {
        this.id = id;
        this.adminId = adminId;
        this.action = action;
        this.targetType = targetType;
        this.targetId = targetId;
        this.createdAt = createdAt;
    }

    // id属性的getter方法
    public int getId() {
        return id;
    }
    // id属性的setter方法
    public void setId(int id) {
        this.id = id;
    }

    // adminId属性的getter方法
    public int getAdminId() {
        return adminId;
    }
    // adminId属性的setter方法
    public void setAdminId(int adminId) {
        this.adminId = adminId;
    }

    // action属性的getter方法
    public String getAction() {
        return action;
    }
    // action属性的setter方法
    public void setAction(String action) {
        this.action = action;
    }

    // targetType属性的getter方法
    public String getTargetType() {
        return targetType;
    }
    // targetType属性的setter方法
    public void setTargetType() {
        this.targetType = targetType;
    }

    // targetId属性的getter方法
    public int getTargetId() {
        return targetId;
    }
    // targetId属性的setter方法
    public void setTargetId() {
        this.targetId = targetId;
    }

    // createdAt属性的getter方法
    public Date getCreatedAt() {
        return createdAt;
    }
    // createdAt属性的setter方法
    public void setCreatedAt(Date createdAt) {
        this.createdAt = createdAt;
    }
}
